#include<stdio.h>

typedef int DataType;

typedef struct ComplexLink
{
  DataType data;
  struct ComplexLink *next;
  struct ComplexLink *random;
}ComplexLink;


ComplexLink * CopyComplexLink(ComplexLink *first);
ComplexLink *BuyNode(DataType data);
